package cn.iocoder.yudao.module.ems.convert.outbound;

import cn.iocoder.yudao.module.ems.controller.admin.outbound.vo.OutboundInfoCreateReqVO;
import cn.iocoder.yudao.module.ems.controller.admin.outbound.vo.OutboundInfoRespVO;
import cn.iocoder.yudao.module.ems.dal.dataobject.outbound.OutboundInfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.Collection;
import java.util.List;

/**
 * 入库记录 Convert
 *
 * @author dason
 */
@Mapper
public interface OutboundInfoConvert {

    OutboundInfoConvert INSTANCE = Mappers.getMapper(OutboundInfoConvert.class);
    List<OutboundInfoRespVO> convert(List<OutboundInfoDO> bean);

    List<OutboundInfoDO> convert2(Collection<OutboundInfoCreateReqVO> bean);

    OutboundInfoDO convert3(OutboundInfoRespVO bean);

    OutboundInfoDO convert4(OutboundInfoCreateReqVO bean);

}
